<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../../../print.css" type="text/css" media="print">
<meta content="RectangleClipping,org.papervision3d.core.clipping.draw.RectangleClipping,asRectangleClipping,check,rect,toString" name="keywords">
<title>org.papervision3d.core.clipping.draw.RectangleClipping</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'RectangleClipping - Papervision3D 官方文档';
				var baseRef = '../../../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">Papervision3D 官方文档</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../../../all-classes.html')" href="../../../../../package-summary.html">全部包</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../../all-classes.html')" href="../../../../../class-summary.html">全部类</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../../index-list.html')" href="../../../../../all-index-A.html">引索</a>&nbsp;|&nbsp;<a href="../../../../../index.html?org/papervision3d/core/clipping/draw/RectangleClipping.html&amp;org/papervision3d/core/clipping/draw/class-list.html" id="framesLink1">框架</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">无框架</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">类&nbsp;RectangleClipping</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">属性</a>&nbsp;| <a href="#methodSummary">方法</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("类 RectangleClipping"); titleBar_setSubNav(false,true,false,false,false,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">包</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">org.papervision3d.core.clipping.draw</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">类</td><td class="classSignature">public class RectangleClipping</td>
</tr>
<tr>
<td class="classHeaderTableLabel">继承</td><td class="inheritanceList">RectangleClipping <img class="inheritArrow" alt="继承" title="继承" src="../../../../../images/inherit-arrow.gif"> <a href="Clipping.html">Clipping</a></td>
</tr>
</table>
<p></p> 
<p>Rectangle clipping </p>
<p>方形剪切</p>
<p></p>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">公共属性</div>
<div class="showHideLinks">
<div class="hideInheritedProperty" id="hideInheritedProperty">
<a onclick="javascript:setInheritedVisible(false,'Property');" href="#propertySummary" class="showHideLink"><img src="../../../../../images/expanded.gif" class="showHideLinkImage"> 隐藏继承的公共属性</a>
</div>
<div class="showInheritedProperty" id="showInheritedProperty">
<a onclick="javascript:setInheritedVisible(true,'Property');" href="#propertySummary" class="showHideLink"><img src="../../../../../images/collapsed.gif" class="showHideLinkImage"> 显示继承的公共属性</a>
</div>
</div>
<table id="summaryTableProperty" class="summaryTable hideInheritedProperty" cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">属性</th><th colspan="2">定义方</th>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="Clipping.html#maxX">maxX</a> : Number = 1000000<div class="summaryTableDescription">
      Maximum allowed x value for primitives
      </div>
</td><td class="summaryTableOwnerCol"><a href="Clipping.html">Clipping</a></td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="Clipping.html#maxY">maxY</a> : Number = 1000000<div class="summaryTableDescription">
      Maximum allowed y value for primitives
      </div>
</td><td class="summaryTableOwnerCol"><a href="Clipping.html">Clipping</a></td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="Clipping.html#minX">minX</a> : Number = -1000000<div class="summaryTableDescription">
      Minimum allowed x value for primitives
      </div>
</td><td class="summaryTableOwnerCol"><a href="Clipping.html">Clipping</a></td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="Clipping.html#minY">minY</a> : Number = -1000000<div class="summaryTableDescription">
      Minimum allowed y value for primitives
      </div>
</td><td class="summaryTableOwnerCol"><a href="Clipping.html">Clipping</a></td>
</tr>
</table>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">公共方法</div>
<div class="showHideLinks">
<div class="hideInheritedMethod" id="hideInheritedMethod">
<a onclick="javascript:setInheritedVisible(false,'Method');" href="#methodSummary" class="showHideLink"><img src="../../../../../images/expanded.gif" class="showHideLinkImage"> 隐藏继承的公共方法</a>
</div>
<div class="showInheritedMethod" id="showInheritedMethod">
<a onclick="javascript:setInheritedVisible(true,'Method');" href="#methodSummary" class="showHideLink"><img src="../../../../../images/collapsed.gif" class="showHideLinkImage"> 显示继承的公共方法</a>
</div>
</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">方法</th><th colspan="2">定义方</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#RectangleClipping()">RectangleClipping</a>(minX:Number = -1000000, minY:Number = -1000000, maxX:Number = 1000000, maxY:Number = 1000000)</div>
<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">RectangleClipping</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#asRectangleClipping()">asRectangleClipping</a>():<a href="../draw/RectangleClipping.html">RectangleClipping</a>
</div>
<div class="summaryTableDescription">
   
   <p>Returns a rectangle clipping object representing the bounding box of the clipping object.</p>
   <p>返回描述被剪切对象边界盒的方形剪切对象</p>
</div>
</td><td class="summaryTableOwnerCol">RectangleClipping</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#check()">check</a>(pri:<a href="../../render/command/RenderableListItem.html">RenderableListItem</a>):Boolean</div>
<div class="summaryTableDescription">
   
   <p>Checks a drawing primitive for clipping.</p>
   <p>核对将要剪切的基本几何体</p>
</div>
</td><td class="summaryTableOwnerCol">RectangleClipping</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#rect()">rect</a>(minX:Number, minY:Number, maxX:Number, maxY:Number):Boolean</div>
<div class="summaryTableDescription">
   
   <p>Checks a bounding rectangle for clipping.</p>
   <p>核对将要剪切的边界方块</p>
</div>
</td><td class="summaryTableOwnerCol">RectangleClipping</td>
</tr>
<tr class="hideInheritedMethod">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="Clipping.html#screen()">screen</a>(container:Sprite):<a href="../draw/Clipping.html">Clipping</a>
</div>
<div class="summaryTableDescription">
   <p>Returns a rectangle clipping object initilised with the edges of the flash movie as the clipping bounds.</p>
   <p>返回一个方形剪切对象，它的剪切边界是flash剪辑的边界</p>
</div>
</td><td class="summaryTableOwnerCol"><a href="Clipping.html">Clipping</a></td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#toString()">toString</a>():String</div>
<div class="summaryTableDescription">
   <p>Used to trace the values of a rectangle clipping object.</p>
   <p>跟踪方形剪切对象的值</p>
</div>
</td><td class="summaryTableOwnerCol">RectangleClipping</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="constructorDetail"></a>
<div class="detailSectionHeader">构造函数详细信息</div>
<a name="RectangleClipping()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">RectangleClipping</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">构造函数</td>
</tr>
</table>
<div class="detailBody">
<code>public function RectangleClipping(minX:Number = -1000000, minY:Number = -1000000, maxX:Number = 1000000, maxY:Number = 1000000)</code><p></p><span class="label">参数</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">minX</span>:Number</code> (default = <code>-1000000</code>)<code></code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">minY</span>:Number</code> (default = <code>-1000000</code>)<code></code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">maxX</span>:Number</code> (default = <code>1000000</code>)<code></code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">maxY</span>:Number</code> (default = <code>1000000</code>)<code></code></td>
</tr>
</table>
</div>
<a name="methodDetail"></a>
<div class="detailSectionHeader">方法详细信息</div>
<a name="asRectangleClipping()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">asRectangleClipping</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td>
</tr>
</table>
<div class="detailBody">
<code>public override function asRectangleClipping():<a href="../draw/RectangleClipping.html">RectangleClipping</a></code><p>
   
   Returns a rectangle clipping object representing the bounding box of the clipping object.
   </p>
<p>返回描述被剪切对象边界盒的方形剪切对象</p>
<p></p>
<span class="label">返回</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../draw/RectangleClipping.html">RectangleClipping</a></code></td>
</tr>
</table>
</div>
<a name="check()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">check</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public override function check(pri:<a href="../../render/command/RenderableListItem.html">RenderableListItem</a>):Boolean</code><p>
   
   Checks a drawing primitive for clipping.
   
   </p>
<p>核对一个要被剪切的基本几何体</p>
<span class="label">参数</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">pri</span>:<a href="../../render/command/RenderableListItem.html">RenderableListItem</a></code> &mdash; The drawing primitive being checked.
   </td>
</tr>
</table>
<p></p>
<span class="label">返回</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td width="539"><p><code>Boolean</code> &mdash;  The clipping result - false for clipped, true for non-clipped.
</p>
  <p>剪切结果：false为已经剪切，true为未剪切</p></td>
</tr>
</table>
</div>
<a name="rect()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">rect</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public override function rect(minX:Number, minY:Number, maxX:Number, maxY:Number):Boolean</code><p>
   
   Checks a bounding rectangle for clipping.
   
   </p>
<p>核对一个要被剪切的边界方块</p>
<span class="label">参数</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><p><code><span class="label">minX</span>:Number</code> &mdash; The x value for the left side of the rectangle.
</p>
  <p>方块的左上角的x坐标</p></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><p><code><span class="label">minY</span>:Number</code> &mdash; The y value for the top side of the rectangle.
</p>
  <p>方块的左上角的y坐标</p></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><p><code><span class="label">maxX</span>:Number</code> &mdash; The x value for the right side of the rectangle.
</p>
  <p>方块的右下角的x坐标</p></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><p><code><span class="label">maxY</span>:Number</code> &mdash; The y value for the bottom side of the rectangle.</p>
  <p>方块的右下角的y坐标</p></td>
</tr>
</table>
<p></p>
<span class="label">返回</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><p><code>Boolean</code> &mdash;  The clipping result - false for clipped, true for non-clipped.</p>
  <p>剪切结果：false已经剪切 true未剪切</p></td>
</tr>
</table>
</div>
<a name="toString()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">toString</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function toString():String</code><p>
   Used to trace the values of a rectangle clipping object.
   
   </p>
<p>跟踪方块剪切对象的值</p>
<p></p>
<span class="label">返回</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><p><code>String</code> &mdash; A string representation of the rectangle clipping object.</p>
  <p>描述方块剪切对象的字符串值</p></td>
</tr>
</table>
</div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright">http://blog.papervision3d.org</center>
</div>
</body>
</html>
<!--http://blog.papervision3d.org-->
